package cn.kxm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.kxm.dao.StorageInfoMapper;
import cn.kxm.pojo.Storageinfo;
import cn.kxm.service.StorageInfoService;
@Service
public class StorageInfoServiceImpl implements StorageInfoService{
    @Autowired
	private StorageInfoMapper infoMapper;
	
	@Override
	public int addStorageInfoByInfow(Storageinfo info) {
		return infoMapper.addStorageInfoByInfow(info);
	}

	@Override
	public int updateStorageInfoByPartCode(Storageinfo info) {
		return infoMapper.updateStorageInfoByPartCode(info);
	}

	@Override
	public Storageinfo getStorageinfoByPartCode(String partCode) {
		return infoMapper.geStorageinfoByPartCode(partCode);
	}

}
